package com.eastfair.venueservice.vo;

import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 实体类
 * 价目表
 * </p>
 *
 * @author linan
 * @since 2022-07-21
 */
@Data
@ApiModel(value = "ServicePriceListVO", description = "价目表")
public class ServicePriceListVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 价目编号
     */
    @ApiModelProperty(value = "价目编号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "价目编号长度不能超过255")
    private String priceListNo;
    /**
     * 价目名称
     */
    @ApiModelProperty(value = "价目名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "价目名称长度不能超过255")
    private String priceListName;
    /**
     * 服务数量
     */
    @ApiModelProperty(value = "服务数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer serviceNum;
    /**
     * 展会使用数量
     */
    @ApiModelProperty(value = "展会使用数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer exhibitionNum;
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long createdBy;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createdName;
    /**
     * 服务价目信息
     */
    @ApiModelProperty(value = "服务价目信息")
    private List<ServicePriceListItemVO> servicePriceListItem;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long exhibitionManageId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private LocalDateTime createTime;
    /**
     * 展会名称
     */
    @ApiModelProperty(value = "展会名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String exhibitionManageName;
}
